import request from '@/utils/request';

const authBaseURL = '/auth'

//登录
//需要；邮箱或用户名、密码
export function flowerUserLogin(data){
    return request({
        url: authBaseURL+'/flowerUserLogin',
        method: 'post',
        data
    })
}

//登出
export function flowerUserLogout(data){
    return request({
        url: authBaseURL+'/flowerUserLogout',
        method: 'post',
        data
    })
}

//权限验证
export function roleVerify(data){
    return request({
        url: authBaseURL+'/roleVerify',
        method: 'post',
        data
    })
}